package com.kuaimacode.kframework.mybatis.models.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 字典表
 */
@Data
@TableName("sys_dict")
public class Dict implements java.io.Serializable {
	/**
	 * 
	 */
	@TableField(exist=false)
	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@TableField("name")
	private String name;

	@TableField("title")
	private String title;

	@TableField("type")
	private Byte type;

	@TableField("value")
	private String value;

	@TableField("remark")
	private String remark;

	@TableField("create_at")
	private Date createAt;

	@TableField("update_at")
	private Date updateAt;

	@TableField("create_by")
	private Long createBy;

	@TableField("update_by")
	private Long updateBy;

	@TableField("status")
	private Byte status ;


	@TableField("level")
	private Integer level ;
	@TableField("parent_id")
	private Long parentId ;
	@TableField("reserved")
	private String reserved ;
	@TableField("code")
	private String code ;

}